package sk.ogame.realm.exception;

/**
 * @author 支绍昆
 * 2023/2/17
 * 星球信息不存在
 **/
public class PlanetNoInfoException extends BaseException {

    public static final int CODE_PLANET = 1; //星球信息
    public static final int CODE_OVERVIEW = 2; //星球概况

    private Integer planetId;

    public PlanetNoInfoException(String message, Integer errCode) {
        super(message, errCode);
    }

    public PlanetNoInfoException(String message, Integer errCode, Integer planetId) {
        this(message, errCode);
        this.planetId = planetId;
    }

    public Integer getPlanetId() {
        return planetId;
    }
}
